Simplify the expression (v^2-3v-40)